home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 6 / MacMania 6.toast / / Multimedia & Desktop / sk8 / SK8InJava / Code / Collections / CharacterVisitState.java < prev    next >
Encoding:
Java Source  |  1997-02-27  |  544 b   |  18 lines  |  [TEXT/CWIE]

  1. /*  SK8 © 1997 Apple Computer, Inc.
  2.     This code is protected under the current SK8 License
  3.     See http://sk8.research.apple.com/ for more information
  4.     Apple Research Laboratories
  5. */
  6.  
  7.  
  8. public class charactervisitstate extends textvisitstate {
  9.     
  10.     //constructor
  11.     public charactervisitstate (charactercollection inTC, int inPosition) {
  12. //        if ((inPosition < 1) || (inPosition > inTC.length()))
  13. //            throw new collectionindexoutofbounds();
  14.         mTC = inTC;
  15.         mCurrentPosition = inPosition - 1;
  16.         // the protocol starts at 1, java starts at 0
  17.     }
  18. }